using System;
using DevExpress.Xpo;

namespace Objects
{

    public class NganhHoc : XPObject
    {
        public NganhHoc()
            : base()
        {
            // This constructor is used when an object is loaded from a persistent storage.
            // Do not place any code here.
        }

        public NganhHoc(Session session)
            : base(session)
        {
            // This constructor is used when an object is loaded from a persistent storage.
            // Do not place any code here.
        }

        public override void AfterConstruction()
        {
            base.AfterConstruction();
            // Place here your initialization code.
        }

        private string _tenNganh;

        public string TenNganh
        {
            get { return _tenNganh; }
            set { SetPropertyValue("TenNganh", ref _tenNganh, value; }
        }
        private Khoa _khoa;

        public Khoa Khoa
        {
            get { return _khoa; }
            set { SetPropertyValue("Khoa", ref _khoa, value); }
        }
    }

}